class Person {
    name: string;
    age: Int16Array | undefined;

    constructor(name: string) {
        this.name = name;
    }
    public 获取名字(): string {
        return this.name;

    }
}

var p: Person = new Person("pop");
alert(p.获取名字());
